﻿<UserControl x:Class="monitor_server_2_WPF.NumericUpDown"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="20" d:DesignWidth="80">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="1*"/>
            <RowDefinition Height="1*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="25"/>
        </Grid.ColumnDefinitions>
        <Button Name="UpButton" Grid.Column="1" Grid.Row="0" Click="UpButton_Click">
            <ContentControl>
                <Image Source="pack://application:,,,/Resources/arrowup_16.png"/>
            </ContentControl>
        </Button>
        <Button Name="DownButton" Grid.Column="1" Grid.Row="1" Click="DownButton_Click">
            <ContentControl>
                <Image Source="pack://application:,,,/Resources/arrowdown_16.png"/>
            </ContentControl>
        </Button>
        <TextBox Name="ContentBox" Grid.RowSpan="2" TextWrapping="Wrap" Text="TextBox" Margin="0,0,0,0" TextChanged="ContentBox_TextChanged"/>

    </Grid>
</UserControl>
